package com.asp.aspchain.admin.entity;

import javax.persistence.*;

@Table(name = "t_abc_sequence")
public class Sequence {
    @Id
    private String name;

    private Integer currentval;

    private Integer increment;

    private Integer minval;

    private Integer maxval;

    /**
     * 前缀
     */
    private String prefix;

    /**
     * 描述
     */
    private String desc;

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return currentval
     */
    public Integer getCurrentval() {
        return currentval;
    }

    /**
     * @param currentval
     */
    public void setCurrentval(Integer currentval) {
        this.currentval = currentval;
    }

    /**
     * @return increment
     */
    public Integer getIncrement() {
        return increment;
    }

    /**
     * @param increment
     */
    public void setIncrement(Integer increment) {
        this.increment = increment;
    }

    /**
     * @return minval
     */
    public Integer getMinval() {
        return minval;
    }

    /**
     * @param minval
     */
    public void setMinval(Integer minval) {
        this.minval = minval;
    }

    /**
     * @return maxval
     */
    public Integer getMaxval() {
        return maxval;
    }

    /**
     * @param maxval
     */
    public void setMaxval(Integer maxval) {
        this.maxval = maxval;
    }

    /**
     * 获取前缀
     *
     * @return prefix - 前缀
     */
    public String getPrefix() {
        return prefix;
    }

    /**
     * 设置前缀
     *
     * @param prefix 前缀
     */
    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    /**
     * 获取描述
     *
     * @return desc - 描述
     */
    public String getDesc() {
        return desc;
    }

    /**
     * 设置描述
     *
     * @param desc 描述
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }
}